package zuoye;

import java.util.Scanner;

public class zuoye1 {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		System.out.println("first num:");
		int a;
		a = sc.nextInt();
		System.out.println("second num:");
		int b;
		b = sc.nextInt();
		System.out.println("third num:");
		int c;
		c = sc.nextInt();
		int d = a > b ? a : b;
		int max = c > d ? c : d;
		System.out.println(max);
	}

}
